package com.ruoyi.crm.service;

import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.crm.domain.CrmAcceptanceSheet;
import com.ruoyi.crm.strategy.CrmOrderFlowStrategy;
import com.taobao.api.ApiException;

/**
 * 验收Service接口
 *
 * @author 最帅陈彬彬
 * @date 2024-12-06
 */
public interface ICrmAcceptanceSheetService extends IService<CrmAcceptanceSheet>, CrmOrderFlowStrategy<CrmAcceptanceSheet> {
    /**
     * 查询验收
     *
     * @param id 验收主键
     * @return 验收
     */
    public CrmAcceptanceSheet selectCrmAcceptanceSheetById(String id);

    /**
     * 查询验收列表
     *
     * @param crmAcceptanceSheet 验收
     * @return 验收集合
     */
    public List<CrmAcceptanceSheet> selectCrmAcceptanceSheetList(CrmAcceptanceSheet crmAcceptanceSheet);

    /**
     * 新增验收
     *
     * @param crmAcceptanceSheet 验收
     * @return 结果
     */
    public int insertCrmAcceptanceSheet(CrmAcceptanceSheet crmAcceptanceSheet);

    /**
     * 修改验收
     *
     * @param crmAcceptanceSheet 验收
     * @return 结果
     */
    public int updateCrmAcceptanceSheet(CrmAcceptanceSheet crmAcceptanceSheet);

    /**
     * 批量删除验收
     *
     * @param ids 需要删除的验收主键集合
     * @return 结果
     */
    public int deleteCrmAcceptanceSheetByIds(String[] ids);

    /**
     * 删除验收信息
     *
     * @param id 验收主键
     * @return 结果
     */
    public int deleteCrmAcceptanceSheetById(String id);


    /**
     * 审核
     * @param crmAcceptanceSheet
     * @return
     */
    int audit(CrmAcceptanceSheet crmAcceptanceSheet);

}
